feat(voice): add base_url config for OpenAI TTS and Whisper STT#499
feat(voice): add base_url config for OpenAI TTS and Whisper STT#499
Conversation
…ders Enables pointing the OpenAI-compatible TTS/STT providers at local servers like Chatterbox and faster-whisper-server without needing an API key.
Greptile SummaryThis PR adds an optional Prior review concerns (trailing-slash double-slash and the missing Whisper template entry) have been addressed in the follow-up commit ( Confidence Score: 5/5Safe to merge — feature is correctly implemented end-to-end with no P0/P1 issues remaining. All prior review concerns (trailing-slash double-slash URLs, missing Whisper template entry) were resolved in the follow-up commit. Schema map, gateway wiring, config structs, normalization logic, and test coverage are all consistent and correct across both providers. crates/config/src/template.rs — Whisper STT block still lacks a commented base_url example (flagged in prior thread, not yet resolved). Important Files Changed
Reviews (3): Last reviewed commit: "fix(voice): address PR review feedback" | Re-trigger Greptile |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Merging this PR will not alter performance
Comparing Footnotes
|
# Conflicts: # crates/gateway/src/voice.rs # crates/voice/src/stt/whisper.rs
Entire-Checkpoint: cad39ab3ba27
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
withered-breeze-e956 | 645c27c | Commit Preview URL Branch Preview URL |
Apr 13 2026, 08:15 AM |
Summary
Cherry-picked from #331 (which contained multiple unrelated features).
Enables pointing the OpenAI-compatible TTS/STT providers at local servers like Chatterbox and faster-whisper-server without needing an API key.
base_urlfield to OpenAI TTS provider configbase_urlfield to Whisper STT provider configValidation
Completed
cargo check -p moltis-voiceRemaining
./scripts/local-validate.shManual QA
voice.tts.openai.base_urlin config to a local Chatterbox instancevoice.stt.whisper.base_urlto a local faster-whisper-serverSupersedes the voice portion of #331.